package com.qfedu.service;

import com.qfedu.entity.GoodsEntity;
import com.qfedu.entity.GoodsTypeEntity;
import com.qfedu.mapper.GoodsPojoMapper;
import com.qfedu.pojo.GoodsPojo;
import com.qfedu.pojo.GoodsTypePojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface WaresService {
public List<GoodsEntity> queryAllWares(GoodsPojo goodsPojo);
//删除商品
    public Boolean deleteWaresById(String gidstr);
    //查询商品类型
    public List<GoodsTypeEntity> queryAllType(GoodsTypePojo goodsTypePojo);
   //编辑
   public Boolean updateGoods(GoodsEntity goodsEntity);

}
